home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / human interface toolbox / htmlsample / htmlsample.r < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.6 KB  |  71 lines

  1. /*
  2.     file HTMLSample.r
  3.     
  4.     Description:
  5.     This file contains the MPW Rez declarations used in the HTMLSample
  6.     application.
  7.     
  8.     HTMLSample is an application illustrating how to use the new
  9.     HTMLRenderingLib services found in Mac OS 9. HTMLRenderingLib
  10.     is Apple's light-weight HTML rendering engine capable of
  11.     displaying HTML files.
  12.  
  13.     by John Montbriand, 1999.
  14.  
  15.     Copyright: © 1999 by Apple Computer, Inc.
  16.     all rights reserved.
  17.     
  18.     Disclaimer:
  19.     You may incorporate this sample code into your applications without
  20.     restriction, though the sample code has been provided "AS IS" and the
  21.     responsibility for its operation is 100% yours.  However, what you are
  22.     not permitted to do is to redistribute the source as "DSC Sample Code"
  23.     after having made changes. If you're going to re-distribute the source,
  24.     we require that you make it clear in the source that the code was
  25.     descended from Apple Sample Code, but that you've made changes.
  26.     
  27.     Change History (most recent first):
  28.     10/16/99 created by John Montbriand
  29. */
  30.  
  31. #include "Processes.r"
  32. #include "CodeFragments.r"
  33.  
  34. include "HTMLSample.rsrc";
  35.  
  36. resource 'SIZE' (-1, purgeable)  {
  37.     reserved,
  38.     acceptSuspendResumeEvents,
  39.     reserved,
  40.     canBackground,
  41.     doesActivateOnFGSwitch,
  42.     backgroundAndForeground,
  43.     dontGetFrontClicks,
  44.     ignoreAppDiedEvents,
  45.     is32BitCompatible,
  46.     isHighLevelEventAware,
  47.     localAndRemoteHLEvents,
  48.     isStationeryAware,
  49.     dontUseTextEditServices,
  50.     reserved,
  51.     reserved,
  52.     reserved,
  53.     1024 * 4000,
  54.     1024 * 4000
  55. };
  56.  
  57. resource 'cfrg' (0) {
  58.     {    kPowerPC,
  59.         kFullLib,
  60.         kNoVersionNum,
  61.         kNoVersionNum,
  62.         kDefaultStackSize,
  63.         kNoAppSubFolder,
  64.         kIsApp,
  65.         kOnDiskFlat,
  66.         kZeroOffset,
  67.         kWholeFork,
  68.         "HTMLSample"
  69.     }
  70. };
  71.